package com.hp.attendance.entity;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * 部门表
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class Department {
	private Integer id;
	private Integer department_number;//部门编号
	private String name;//部门名称
	private String manager;//负责人
	private String telephone;//联系电话
	private String address;//地址
	private String notes;//备注

	public Department(int department_number, String name, String telephone, String address, String notes) {
		this.department_number = department_number;
		this.name = name;
		this.telephone = telephone;
		this.address = address;
		this.notes = notes;
	}

	public Department(int id, int department_number, String name, String telephone, String address, String notes) {
		this.id = id;
		this.department_number = department_number;
		this.name = name;
		this.telephone = telephone;
		this.address = address;
		this.notes = notes;
	}
}
